<form id="sForm">
	<input type="hidden" name="frm" value="{$_act.frm}" />
	<input type="hidden" name="mdl" value="{$_act.mdl}" />
	<input type="hidden" name="do" value="{$_act.do}" />

	<input type="hidden" name="pid" value="{$pid}" />
	<table border="0" align="center" cellpadding="0" cellspacing="1" class="table_search">
		<tbody>
			<tr>
				<th>{$l.name}：</th>
				<td><input type="text" name="keyword" id="keyword" value="{$get.keyword}" class="input" style="width:200px;" /></td>
				<td class="w100p"></td>
				<td><input type="submit" name="btnSearch" value="{$l.search}" class="button" /></td>
			</tr>
		</tbody>
	</table>
</form>
<div class="space10"><!-- 间隔 --></div>
<form action="./m.php?frm=action&mdl=index" name="lForm" id="lForm" method="post" target="eBody">
	<input type="hidden" name="formAction" value="" />
	<input type="hidden" name="goback" value="frlist" />
	<input type="submit" id="btnSubmit" class="hide" />
	<table align="center" class="data_form">
		<caption>
		{$_page.caption}
		</caption>
		<thead>
			<tr>
				<th style="width:22px;"><input type="checkbox" title="{$l.selall}/{$l.selnone}" class="poshytip" /></th>
				<th style="width:240px;">{$l.name}</th>
				<th style="width:200px;">{$l.preview}</th>
				<th style="width:32px;">{$l.state}</th>
				<th style="width:150px;">{$l.author}/{$l.version}/{$l.date}</th>
				<th style="width:80px;">{$l.rank}</th>
				<th>{$l.memo}/URL</th>
				<th style="width:30px;">{$l.operation}</th>
			</tr>
		</thead>
		<tbody>
		
		{foreach from=$list key=name item=row}
		<tr>
			<th><input name="list[]" type="checkbox" value="{$name}" /><input type="hidden" name="lst[{$row.id}]" value="{$row.id}" /></th>
			<td>{$row.name}
				{if $row.filters}
				
				<dl>过滤：
					{foreach from=$row.filters key=tag item=funcs}
						<dt>{$tag}::</dt>
						{foreach from=$funcs key=func item=val}
						<dd>{$func}</dd>
						{/foreach}
					{/foreach}
				</dl>
				{/if}

				{if $row.actions}
				
				<dl>动作：
					{foreach from=$row.actions key=tag item=funcs}
						<dt>{$tag}::</dt>
						{foreach from=$funcs key=func item=val}
						<dd>{$func}</dd>
						{/foreach}
					{/foreach}
				</dl>
				{/if}
			</td>
			<td><a href="{$_s.plg_dir}{$row.preview}" title="{$row.name}" class="open_frame"> <img src="{$_s.plg_dir}{$row.preview}" width="1" height="1" onload="drawImage(this, 200, 120);" /></a></td>
			<td><input type="checkbox" name="state[{$row.id}]" value="{$row.mark}"{if $row.state eq 1} checked{/if} /></td>
			<td>{$row.author}<br />
				{$row.version}<br />
				{$row.pubdate}</td>
			<td><input type="text" name="rank[{$row.id}]" value="{$row.rank}" class="input" style="width:80px;" /></td>
			<td>{$row.desc}<br /><br />
				<a href="{$row.url}">{$row.url}</a></td>
			<td>{if $_g._mp_system_plugin_edit}<a href="./m.php?frm=system&mdl=plugin&do=edit&id={$row.id}" target="eBody"> {$l.edit} </a>{/if}</td>
		</tr>
		{/foreach}
		</tbody>
		
	</table>

</form>
	<!--  -->
	<table border="0" align="center" cellpadding="0" cellspacing="1" class="data_form">
		<tfoot id="cmd">
			<tr>
				<td><div class="btns"><!--<select class="select"><option></option>-->
							<!--{if $_g._mp_system_plugin_activate}-->
							<button name="formAction" value="{$_act.frm}.plugin_activate" class="button">{$l._mp_system_plugin_activate}</button>
							<!--{/if}-->
							<!--{if $_g._mp_system_plugin_rank}-->
							<button name="formAction" value="{$_act.frm}.plugin_rank" class="button">{$l._mp_system_plugin_rank}</button>
							<!--{/if}-->
							<!--{if $_g._mp_system_plugin_update}-->
							<button name="formAction" value="{$_act.frm}.plugin_update" class="button">扫描</button>
							<!--{/if}--><!--</select>-->	
					</div></td>
			</tr>
		</tfoot>
	</table>

<div class="space5"><!-- 间隔 --></div>
<div class="data_memo"></div>

<script type="text/javascript" language="JavaScript" charset="utf-8">
<!--
	{literal}
	jQuery(function($){
		
	});
	{/literal}
-->
</script>